package com.alameda.provider.user;

import com.alameda.service.user.AdUserOperateLogService;
import com.alameda.user.api.AdUserOperateLogProvider;
import com.alameda.user.dto.AdUserOperateLogDTO;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 用户操作日志 同步接口层 具体实现
 *
 * @author Lv
 * @date 2025/01/04
 */
@DubboService
public class AdUserOperateLogProviderImpl implements AdUserOperateLogProvider {

    @Autowired
    private AdUserOperateLogService adUserOperateLogService;

    /**
     * 保存操作记录
     *
     * @param adUserOperateLogDTO 用户操作日志信息
     * @return
     */
    @Override
    public Boolean saveOperateLogInfo(AdUserOperateLogDTO adUserOperateLogDTO) {
        return adUserOperateLogService.saveOperateLogInfo(adUserOperateLogDTO);
    }
}
